package org.jeecg.modules.purchase.service;

import org.jeecg.modules.purchase.entity.PurchaseStock;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;

/**
 * @Description: 库存
 * @Author: jeecg-boot
 * @Date:   2022-11-14
 * @Version: V1.0
 */
public interface IPurchaseStockService extends IService<PurchaseStock> {

    // 添加库存
    void addStock (PurchaseStock purchaseStock);

    // 查询库存数量
    BigDecimal findTotalNumber(String repositoryCode, String goodsCode, BigDecimal goodsUnitPrice);

}
